<!-- src/App.vue -->
<template>
  <div id="app" style="margin: 20px;">
    <h1>Vue 综合示例</h1>
    <!-- 导航栏 -->
    <nav style="margin-bottom: 10px;">
      <router-link to="/">首页</router-link> |
      <router-link to="/dashboard">传感器数据</router-link> |
      <router-link to="/camera">摄像头预览</router-link>
    </nav>

    <!-- 路由出口 -->
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App'
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
}
</style>
